public class Student {
	private String firstName;
	private String lastName;
	private int age;

	public Student(String inFirstName, String inLastName, int inAge) {
		firstName = inFirstName;
		lastName = inLastName;
		age = inAge;
	}
	
	public Student(String inFirstName, String inLastName) {
		firstName = inFirstName;
		lastName = inLastName;
		age = 0;
	}

	public void setFirstName(String inFirstName) {
		firstName = inFirstName;
	}

	public void setLastName(String inLastName) {
		lastName = inLastName;
	}

	public void setAge(int inAge) {
		if (inAge <= 0) {
			return;
		}

		if (inAge > 100) {
			return;
		}

		age = inAge;
	}

	public void setAge1(int inAge) {
		if (inAge > 0 && inAge < 100) {
			age = inAge;
		}
	}

	public String getFirstName() {
		return firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public int getAge() {
		return age;
	}

	public String toString() {
		String returnValue = "";

		returnValue += "firstName " + firstName + " ";
		returnValue += " lastName " + lastName + " ";
		returnValue += " age " + age;

		return returnValue;
	}
}
